import { $post, $get, $setToken } from '../utils/request'

// 添加评论
export let $postComment = async (params) => {
    let ret = await $post('comment', params)
    console.log(ret);
    return ret;
}

//查询评论
export let $getComments = async (params) => {
    let ret = await $get('comment/page', params)
    console.log(ret);
    return ret;
}
